package com.zzh.sqllib.bean;

import com.alibaba.fastjson.JSON;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.NotNull;

@Entity
public class ContextBean {


    @Id(autoincrement = true)
    private Long Id; // ` int(11) NOT NULL AUTO_INCREMENT,
    @NotNull
    private int Id_Local = 0; //` int(11) NOT NULL DEFAULT '0',
    @Index(unique = true)
    @NotNull
    private int UserId = -1; // ` int(11) NOT NULL,
    @NotNull
    private int Mid = 0; //` int(11) NOT NULL DEFAULT '0',
    @NotNull
    private int Type = 0; // ` tinyint(4) NOT NULL DEFAULT '0',
    @NotNull
    private int FId = -1; // ` int(11) NOT NULL,
    @NotNull
    private int Fid_Local = 0; // ` int(11) NOT NULL DEFAULT '0',
    @NotNull
    private String ContextName = "？？？？"; //` varchar(50) CHARACTER SET utf8 NOT NULL COMMENT '????',
    private int Status; // ` tinyint(4) DEFAULT NULL,
    private float LocationX = 0.0f; // ` varchar(64) CHARACTER SET utf8 DEFAULT NULL,
    private float LocationY = 0.0f; // ` varchar(32) CHARACTER SET utf8 DEFAULT NULL,
    private String Description; // ` varchar(128) CHARACTER SET utf8 DEFAULT NULL,
    @NotNull
    private int ifFriend = 0; // ` tinyint(4) NOT NULL DEFAULT '0',
    @NotNull
    private int FriendId = 0; // ` int(11) NOT NULL DEFAULT '0',
    private int LinkId = 0; // ` int(11) DEFAULT '0',
    @NotNull
    private int GroupId = 0; // ` tinyint(4) NOT NULL DEFAULT '0',
    @NotNull
    private int Sort = 0; // ` tinyint(4) NOT NULL DEFAULT '0',
    @NotNull
    private long CreateTime = 0; // ` int(11) NOT NULL COMMENT '????',
    @NotNull
    private int Icon = 0; // ` tinyint(4) NOT NULL DEFAULT '0',
    @NotNull
    private int ifDisplay = 0; // ` tinyint(4) NOT NULL DEFAULT '0',
    @NotNull
    private int Seq = 0; //` int(11) NOT NULL DEFAULT '0',
    @NotNull
    private int FcFlag = 0; // ` tinyint(4) NOT NULL DEFAULT '0',
    @Generated(hash = 1464138093)
    public ContextBean(Long Id, int Id_Local, int UserId, int Mid, int Type, int FId, int Fid_Local,
            @NotNull String ContextName, int Status, float LocationX, float LocationY,
            String Description, int ifFriend, int FriendId, int LinkId, int GroupId, int Sort,
            long CreateTime, int Icon, int ifDisplay, int Seq, int FcFlag) {
        this.Id = Id;
        this.Id_Local = Id_Local;
        this.UserId = UserId;
        this.Mid = Mid;
        this.Type = Type;
        this.FId = FId;
        this.Fid_Local = Fid_Local;
        this.ContextName = ContextName;
        this.Status = Status;
        this.LocationX = LocationX;
        this.LocationY = LocationY;
        this.Description = Description;
        this.ifFriend = ifFriend;
        this.FriendId = FriendId;
        this.LinkId = LinkId;
        this.GroupId = GroupId;
        this.Sort = Sort;
        this.CreateTime = CreateTime;
        this.Icon = Icon;
        this.ifDisplay = ifDisplay;
        this.Seq = Seq;
        this.FcFlag = FcFlag;
    }
    @Generated(hash = 1987366071)
    public ContextBean() {
    }
    public Long getId() {
        return this.Id;
    }
    public void setId(Long Id) {
        this.Id = Id;
    }
    public int getId_Local() {
        return this.Id_Local;
    }
    public void setId_Local(int Id_Local) {
        this.Id_Local = Id_Local;
    }
    public int getUserId() {
        return this.UserId;
    }
    public void setUserId(int UserId) {
        this.UserId = UserId;
    }
    public int getMid() {
        return this.Mid;
    }
    public void setMid(int Mid) {
        this.Mid = Mid;
    }
    public int getType() {
        return this.Type;
    }
    public void setType(int Type) {
        this.Type = Type;
    }
    public int getFId() {
        return this.FId;
    }
    public void setFId(int FId) {
        this.FId = FId;
    }
    public int getFid_Local() {
        return this.Fid_Local;
    }
    public void setFid_Local(int Fid_Local) {
        this.Fid_Local = Fid_Local;
    }
    public String getContextName() {
        return this.ContextName;
    }
    public void setContextName(String ContextName) {
        this.ContextName = ContextName;
    }
    public int getStatus() {
        return this.Status;
    }
    public void setStatus(int Status) {
        this.Status = Status;
    }
    public float getLocationX() {
        return this.LocationX;
    }
    public void setLocationX(float LocationX) {
        this.LocationX = LocationX;
    }
    public float getLocationY() {
        return this.LocationY;
    }
    public void setLocationY(float LocationY) {
        this.LocationY = LocationY;
    }
    public String getDescription() {
        return this.Description;
    }
    public void setDescription(String Description) {
        this.Description = Description;
    }
    public int getIfFriend() {
        return this.ifFriend;
    }
    public void setIfFriend(int ifFriend) {
        this.ifFriend = ifFriend;
    }
    public int getFriendId() {
        return this.FriendId;
    }
    public void setFriendId(int FriendId) {
        this.FriendId = FriendId;
    }
    public int getLinkId() {
        return this.LinkId;
    }
    public void setLinkId(int LinkId) {
        this.LinkId = LinkId;
    }
    public int getGroupId() {
        return this.GroupId;
    }
    public void setGroupId(int GroupId) {
        this.GroupId = GroupId;
    }
    public int getSort() {
        return this.Sort;
    }
    public void setSort(int Sort) {
        this.Sort = Sort;
    }
    public long getCreateTime() {
        return this.CreateTime;
    }
    public void setCreateTime(long CreateTime) {
        this.CreateTime = CreateTime;
    }
    public int getIcon() {
        return this.Icon;
    }
    public void setIcon(int Icon) {
        this.Icon = Icon;
    }
    public int getIfDisplay() {
        return this.ifDisplay;
    }
    public void setIfDisplay(int ifDisplay) {
        this.ifDisplay = ifDisplay;
    }
    public int getSeq() {
        return this.Seq;
    }
    public void setSeq(int Seq) {
        this.Seq = Seq;
    }
    public int getFcFlag() {
        return this.FcFlag;
    }
    public void setFcFlag(int FcFlag) {
        this.FcFlag = FcFlag;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
